package com.sxkf.template.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sxkf.template.entity.FollowUser;
import com.sxkf.template.entity.User;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 张广成
 * @since 2024-11-06 10:16:40
 */
public interface FollowUserService extends IService<FollowUser> {
    IPage<User> selectFollowUser(String userId, String orderType, Integer pageNo, Integer pageSize);

    IPage<User> likeQuery(String userId, String nickName, String orderType, Integer pageNo, Integer pageSize);

    IPage<User> getFans(String userId, String orderType, Integer pageNo, Integer pageSize);

    IPage<User> likeQueryFans(String userId, String nickName, String orderType, Integer pageNo, Integer pageSize);

    Boolean createFollowUser(FollowUser followUser);

    Boolean cancelFollowUser(FollowUser followUser);
}
